package com.qianfan.qfcall.network

sealed class ApiResponse<T> {
    data class Ok<T>(val data: T?) : ApiResponse<T>()
    data class BizError<T>(val ret: Int, val msg: String?) : ApiResponse<T>()
    data class OtherError<T>(val code: Int, val throwable: Throwable) : ApiResponse<T>()
}
